package com.focusai.efairy.ui.adapter.warn;

import android.support.v4.util.Pair;

import com.focusai.efairy.R;
import com.focusai.efairy.ui.adapter.base.BaseRecyclerAdapter;
import com.focusai.efairy.ui.adapter.base.BaseRecyclerViewHolder;

/**
 * Created by luo_guangwen on 2017/10/16.
 */

public class SelectCenterTextAdapter extends BaseRecyclerAdapter<Pair<Integer,String>>{
    @Override
    protected int getItemLayoutId() {
        return R.layout.item_center_text;
    }

    @Override
    protected void onBindBaseRecyclerViewHolder(BaseRecyclerViewHolder holder, int position) {
        holder.setText(R.id.text_center,mList.get(position).second);
    }

}
